memoQ can import tabular text files – tab-separated or CSV files - into term bases. These files contain rows and columns, but the columns are not always the same as the fields in a memoQ term base.
Most of the time, the file you import does not have all the columns that memoQ would expect.
Sometimes the columns have names, and sometimes they do not. In the Term base CSV import settings window, memoQ gives you means to convert the columns to term base fields, no matter whether they have names or not.
If you import a text file, even the character encoding can be a question. The Term base CSV import settings window offers a preview where you can check if every character appears as it should.
Do not import Excel files here, memoQ can import Excel directly: To import an Excel sheet into a memoQ term base, you do not need to save the Excel file into a plain-text one. You can import them directly. To learn more: See Help about the Term base Excel import settings window.
How to get here
- Open a project. In Project home, choose Term bases.
From the Resource console: Open the Resource console. Choose Term bases.
From an online project: As a project manager, you can open an online project for management. In the memoQ online project window, choose Term bases.
- If you need the terms in a new term base, create a term base first.
- Right-click the name of the term base you need to import the terms into. From the menu, choose Import Terminology.
- An Open window appears. Find the file you need to import. Click Open.
If the file is a plain-text file (alone, or zipped together with images), the Term base CSV import settings window opens.
What can you do?
Check the character encoding
Nowadays, characters are almost always encoded in Unicode - which can encode practically any character or symbol.
Plain-text files may use simpler, older encodings. If the file you import is not Unicode, memoQ will warn you before the Term base CSV import settings window opens.
At the bottom, check the Preview box if every character appears as it should. If not, choose a different encoding from the File encoding drop-down box (at the top). You may need to experiment until the characters appear correctly.
Check if you can see the columns
memoQ will choose a delimiter character from the file. In a tabular text file, the delimiter character separates the columns (cells) from each other.
Under Preview, check if the columns appear correctly.
If they do not, you may need to choose another delimiter.
Click Tab or Comma or Semicolon or Other. If you click Other, type exactly one character in the box next to it. In this box, type the delimiter character that you expect in the file.
After you choose the other delimiter character, check the Preview box again.
Choose what fields memoQ imports and where
memoQ imports each row from the table in a new entry in the term base.
Each column is imported in a field in the term base.
If the file has column headers, memoQ will try to find the right field for every column.
To make this work, check the First row contains field names check box.
Two or more terms in one cell? If a column contains not one term but several alternatives, memoQ can still import them if it knows how they are separated. This is a different delimiter character (from the one that separates the columns). If there are alternatives like this: Check the Split alternatives in field by check box, and type this character in the box next to it.
To match the columns and the fields to each other, use the settings under Fields.
For each field, you can select how it should be imported. A field is a column in the table. Under Fields, you can match (or not match) fields in a CSV file to fields of a term base entry. (You can omit fields from the CSV file.)
- Fields list: Go through every field name listed, and select how they should be imported. All changes in the controls to the right apply to the field that is currently selected in this list.
- Import as term: Click this to import the contents of the selected field as terms in the language you specify.
- Import as definition: Click this to import the contents of the selected field as definitions in the language you specify.
- Import as other field: Click this to import the contents of the selected field as Subject, Domain, Note, Creation Date, Creator, Last Modification Date, or Last Modified By.
- Do not import: Click this if you do not want to import the contents of the selected field.
In the columns and the fields, a term is not called 'Term': It is called by the language it is in. When memoQ imports terms, memoQ looks for the English name of the language at the column header, not for the word 'Term'.
Want to put together a table that memoQ can use immediately? To learn what field names memoQ uses: Export a term base in a CSV file from memoQ. Open the file in Excel, and examine the column header.
If some entries need to be updated, not added: You can do this if the text file comes from memoQ originally, and it still has the identifiers of the entries. If the same entry is still there, but it was edited, memoQ can update it. To do this, check the Update existing entries based on ID check box.
Specify user, subject, and domain where the file does not have them
If these details are missing from the text file, you can still add them to the new entries.
Type the details in the User name where not specified, Subject where not specified, and Domain name where not specified boxes.
If these details are there in the text file: memoQ will use those, not the ones you type here.
When you finish
To import the text file in the term base, and return to Project home or to the Resource console: Click OK.
To return to Project home or to the Resource console, without importing entries: Click Cancel.
Term base may have duplicate entries after the import: To get rid of duplicate entries, open the term base for editing. In the term base editor, filter the term base for duplicates. To learn more: See Help about the term base editor.